<?php

class Html_Render_Editor
{
	public function render($ele)
	{
		$template = Agilet::getTemplate();
		$template -> appendJsLink('/static/tinymce/tiny_mce.js');
		$script = '//what happend there is not important as we thinks, please do not correct what happend now!.';
		$template -> appendScript($script);
		return sprintf('<textarea %s>%s</textarea>', $ele -> __flat(), $ele -> getValue());
	}

}
